package com.xmwzw.catpu.validator;

import java.util.regex.Pattern;

/**
 * Created by chenpeiqiang on 2017/11/28.
 */

public class PhoneValidator extends PatternValidator {
    public PhoneValidator(String _customErrorMessage) {
        super(_customErrorMessage, Pattern.compile(
                "^((13[0-9])|(14[4-8])|(15([0-3]|[5-9]))|(166)|(17[0-9])|(18[0-9]|(19[8|9])))\\d{8}$"
        ));
    }
}
